/* 统一风格 - 订单管理页 */
.filter-bar {
    background-color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-group {
    display: flex;
    align-items: center;
}

.filter-group label {
    margin-right: 10px;
    font-weight: 500;
    color: #495057;
}

.filter-group select,
.filter-group input {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

#resetFilter {
    margin-left: auto;
    padding: 0.5rem 1rem;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.order-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    text-align: center;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 0.875rem;
    color: #6c757d;
}

.stat-card p {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
}

.order-list {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
}

.status-0 { background-color: #ffc107; color: #212529; }
.status-1 { background-color: #0d6efd; color: white; }
.status-2 { background-color: #198754; color: white; }
.status-3 { background-color: #6f42c1; color: white; }
.status-4 { background-color: #6c757d; color: white; }

.btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

.btn-view {
    background-color: #0d6efd;
    color: white;
}

.btn-ship {
    background-color: #198754;
    color: white;
    margin-left: 5px;
}

.btn-cancel {
    background-color: #dc3545;
    color: white;
    margin-left: 5px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.page-link {
    padding: 0.5rem 0.75rem;
    margin: 0 5px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #0d6efd;
    text-decoration: none;
}

.page-link.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
        margin-bottom: 10px;
    }

    #resetFilter {
        margin-left: 0;
        width: 100%;
    }

    .order-stats {
        flex-direction: column;
    }
}